package com.dd.cloud.open.req.api;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author zk
 */
@Data
public class AuthReq {
    /**
     * 开发者id
     */
    @NotEmpty(message = "开发者id不能为空")
    private String appId;

    /**
     * 请求时间戳
     */
    @NotNull(message = "请求时间戳不能为空")
    private Long timestamp;

    /**
     * 签名
     */
    @NotEmpty(message = "签名不能为空")
    private String sign;
}
